<html>
<head>
</head>
<body>
<table width="100%" align='center'>
<tr width="100%" align='center'>
<td style="width: 100%; padding: 0 20 0 10;" colspan='3' valign="middle" align="center">

    <table align="center" id="content_text" width="100%">
        <tr>                           
                <td colspan="2" align="center">
              <span style="background-color: #4094D7; color: #ffffff; padding: 6px; font-family: verdana; font-size: 12px; text-align: left; font-weight:lighter;">Account : <b>{$acount.client_name}</b></span>
            </td>
        </tr>
    </table>

    <table border="0" cellpadding="0" cellspacing="0" width="90%" align="center">
    <tr valign="top">
          
 <td width="100%" align="center" id="content_text">


            <div class="title">Order {if "ret" == $order.type_order}Return {/if}Details</div>
            <br />
            
            <table width="90%" class="list">
            <tr><th colspan="5">Order ID #{$order.id}. Received at {"`$order.pubdate`"|date_format:"%m/%d/%Y %I:%M %p"}</th></tr>
            <tr class="footer">
                <td>Billing Details</td>
                <td colspan="4">Shipping Details</td>
            </tr>   
            <tr class="light" valign="top">
                <td align="left" valign="top">
                    {$order.lname} {$order.fname}<br />
                    {$order.address1}<br />
                    {$order.address2}<br />
                    {$order.city} {$order.zip} {$order.state} {$order.country}<br />
                    {$order.phone}<br />
                    {$order.email}<br /><br />
                    {* <i>How did you find us:</i> Yahoo<br /> *}
                </td>
                <td align="left" valign="top" colspan="4">
                    {$order.slname} {$order.sfname}<br />
                    {$order.saddress1}<br />
                    {$order.saddress2}<br />
                    {$order.scity} {$order.szip} {$order.sstate} {$order.scountry}<br />
                </td>
            </tr>
            <tr class="footer">
                <td colspan="5">Payment Information</td>
            </tr>   
            <tr class="light">
                <td align="left" valign="top" colspan="5">
                Credit Card Payment
                </td>
            </tr>
            
            <tr class="light" align="left">
            <td colspan="5">
                    <table border="1" cellpadding="0" cellspacing="0" class="list">
            
                    <tr class="light">
                    <td>Credit card type:
                    </td>
                    <td>
                        {$order.cctype}
                    </td>
                    </tr>
            
                    <tr class="light">
                    <td>Credit card number:
                    </td>
                    <td>
                        {$order.ccnumber|indent:$order.ccnumber_num_simb:"*"}
                    </td>
                    </tr>
            
                    <tr class="light">
                    <td>Credit card holder:
                    </td>
                    <td>
                        {$order.ccholdername}
                    </td>
                    </tr>
            
                    <tr class="light">
                    <td>Credit card CVV:
                    </td>
                    <td>
                        {$order.cccvv}
                    </td>
                    </tr>
            
                    <tr class="light">
                    <td>Expiration date:
                    </td>
                    <td>
                        {$order.ccexpdate}
                    </td>
                    </tr>
            
                    </table>
            </td>
            </tr>
            
            <tr class="footer">
                <td colspan="5">Shopping Cart Details</td>
            </tr>
            
            <tr class="dark">
                <td>Item</td>
                <td align="center">Price</td>
                <td align="center">Quantity</td>
                <td align="center">Warranty</td>
                <td align="center">Subtotal</td>
            </tr>
            
            {foreach from=$items item=item}
            <tr class="{cycle values="light,dark"}">
                <td>{$item.title}</td>
                <td align="center">${$item.price_prod}</td>
                <td align="center">{$item.qty}</td>
                <td align="center">{if 0 != $item.warranty_num && "" != $item.warranty_num}${$item.warranty_num}{else}-{/if}</td>
                <td align="center">${$item.price_num_prod}</td>
            </tr>
            {/foreach}
            
            <tr class="dark">
                <td colspan="4">SUB TOTAL:</td>
                <td>${$price}</td>
            </tr>   
            
            <tr class="dark">
                <td colspan="4">Discount</td>
                <td>{if 0 != $order.discount && "" != $order.discount}-${$order.discount}{else}-{/if}</td>
            </tr>
            
            <tr class="dark">
                <td>Shipping</td>
                <td colspan="3">{$shipment.shipment_title}</td>
                <td>{if 0 != $shipment.shipment_price && "" != $shipment.shipment_price}${$shipment.shipment_price}{else}-{/if}</td>
            </tr>
            <tr class="dark">
                <td colspan="4">TOTAL:</td>
                <td>${$order.price}</td>
            </tr>   
            
            <tr class="light">
                <td>Order status: {$current_status}</td>
                <td colspan="2">Order Tracking: {$order.provider}  {$order.order_tn}</td>
            </tr>   

	<tr align="right" style="padding:0 50 0 0;" id="content_text">
        <td align="center" colspan='2'>
        <input type="button" onclick="javascript: window.history.go(-1);" value="Back" style="height:21px;width:40px;">
	</td>
	<td align="right" id="statlinks">
	<a href="#" onclick="javascript: print();" >print</a>
		</td>
	</tr>

   </table>

</td>
</tr>
</table>
</body>
</html>
